<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">所属用户代表:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">客户:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer_id" data-rule="required" data-source="member/member/index"  data-field="legal_person_name" class="form-control selectpage" name="row[customer_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Main_business')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-main_business" class="form-control " rows="5" name="row[main_business]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Current_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-current_status" class="form-control " rows="5" name="row[current_status]" cols="50"></textarea>
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invoice_year')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invoice_year" class="form-control" name="row[invoice_year]" type="text">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_background_accept')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-customer_background_accept" class="form-control " rows="5" name="row[customer_background_accept]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Current_solution')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-current_solution" class="form-control " rows="5" name="row[current_solution]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
